home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip: 2001 Haziran
/
CHIP Haziran2001.iso
/
prog
/
share
/
04
/
setup.exe
/
MM6.Cab
/
F1489_NetscapeCSSFix.action.F6A680DD_F3FB_4CF3_BABB_0D0F06E630F5
< prev
next >
Wrap
Text File
|
2000-08-17
|
3KB
|
67 lines
<html>
<head>
<meta http-equiv="content-type" content="text/html;charset=iso-8859-1">
<title>Netscape CSS Fix Action</title>
<meta name="generator" content="Adobe GoLive 5">
</head>
<body bgcolor="white">
<center>
<font size="6">Netscape CSS Fix Action</font>
<hr>
</center>
<csactionclass name="Netscape CSS Fix" function="CSNSFix" nsversion="4" ieversion="4"></csactionclass>
<p>
<script language="JavaScript1.2" cyberversion="N1.2"><!--
function CSFixFct() {
var d = document; var w = window;
if (d.cs.csFix.w != w.innerWidth || d.cs.csFix.h != w.innerHeight) {
d.location = d.location; }
}
function CSNSFix(action) {
var d = document; var w = window;
if ((navigator.appName == 'Netscape') && (parseInt(navigator.appVersion) == 4)) {
if (typeof d.cs == 'undefined') {
d.cs = new Object;
d.cs.csFix = new Object;
} else if (CSIsFrame (w) == true) CSFixFct();
d.cs.csFix.w = w.innerWidth;
d.cs.csFix.h = w.innerHeight;
window.onresize = CSFixFct;
}
}
function CSIsFrame (window) {
var rootWindow = window.parent;
if (rootWindow == 'undefined') return false;
for (i = 0; i < rootWindow.frames.length; i++)
if (window == rootWindow.frames[i]) return true;
return false;
}
// -->
</script>
</p>
<table cool width="221" height="107" border="0" cellpadding="0" cellspacing="0" gridx="16" showgridx gridy="16" showgridy bgcolor="#eeeeee">
<tr height="1" cntrlrow>
<td width="1" height="1"><spacer type="block" width="1" height="1"></td>
<td width="4" height="1"><spacer type="block" width="4" height="1"></td>
<td width="216" height="1"><spacer type="block" width="216" height="1"></td>
</tr>
<tr height="6">
<td width="1" height="6"><spacer type="block" width="1" height="6"></td>
<td width="4" height="6"><spacer type="block" width="4" height="6"></td>
<td width="216" height="6"><spacer type="block" width="216" height="6"></td>
</tr>
<tr height="100">
<td width="1" height="100"><spacer type="block" width="1" height="100"></td>
<td width="4" height="100"><spacer type="block" width="4" height="100"></td>
<td width="216" height="100" colspan="1" rowspan="1" valign="top" align="left" xpos="4">
<csactioncntrl x="4" y="6" width="212" height="48" alignx="scale" aligny="top" type="InfoText" value="This action fixes the Netscape 4 bug that causes the page to lose most of its CSS information when the window is resized.">
</td>
</tr>
</table>
</body>
</html>